﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BranksList.aspx.cs" Inherits="CNVP.JShop.Web.Admin.BranksList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><%=CNVP.Config.UIConfig.SiteName%></title>
    <!--#include file="include/basejs.aspx"-->
</head>
<body onload="ActiveCoolTable()">
    <form id="form1" runat="server">

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td class="cell_group">
            <img src="Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="BranksList.aspx">品牌管理</a>
        </td>
    </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0" class="Option">
  <tr>
    <td><img src="Images/Dot05.png" /><a href="BranksEdit.aspx">&nbsp;添加</a></td>
    <td><img src="Images/Dot08.png" /> 
        <asp:LinkButton ID="btDelete" runat="server" onclick="btDelete_Click">删除</asp:LinkButton></td>
  </tr>
</table>
</td>
    <td>&nbsp;</td>
  </tr>
</table>
</td>
  </tr>
  <tr>
    <td>
       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
        <asp:Repeater ID="rpList" runat="server">
                 <HeaderTemplate>
                      <thead>
                            <tr>
                        <th class="CheckBox"><input onclick="checkAllLine()" id="checkedAll" name="checkedAll" type="checkbox" title="全部选择/全部不选" /></th>
                        <th>品牌名称</th>
                        <th>品牌图片</th>
                        <th>品牌别名</th>
                        <th>排序</th>
                        <th>官方网站</th>
                        </tr>
                        </thead>
                         <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td class="CheckBox">
                            <asp:CheckBox id="cbCheck" runat="server" ToolTip='<%#Eval("ID")%>'></asp:CheckBox>
                                </td>
                        <td><a href="BranksEdit.aspx?Page=<%=PageIndex %>&ID=<%#Eval("ID")%>" title="<%#Eval("BrankAddress")%>"><%#CNVP.Framework.BasePage.CutString(Eval("BrankName").ToString(),40)%></a></td>
                        <td>
                           <%#Eval("BrankPic").ToString() == "" ? "<font color=\"red\">无图片</font>" : "<img alt=\"" + Eval("BrankName") + "\"  class=\"ClassAdName\" height=\"60\" src=\"" + Convert.ToString(Eval("BrankPic")) + "\" />"%></td>
                        <td><%#Eval("BrankOtherName")%></td>
                        <td><%#Eval("OrderID")%></td>
                         <td><a href='<%#Eval("BrankAddress")%>' target="_blank" title="<%#Eval("BrankAddress")%>">进入官网</a></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                 <asp:Literal ID="lblEmpty" Text="<tr><td colspan='6'>没有符合条件的条目!</td></tr>" runat="server" Visible='<%#bool.Parse((rpList.Items.Count==0).ToString())%>'></asp:Literal>
                 </tbody>
                </FooterTemplate>
        </asp:Repeater>
                        <tfoot>
                      <tr><td colspan="8"><div id="paging" runat="server"></div></td></tr>
                      </tfoot>
                    </table>

    </td>
  </tr>

</table>

        <script type="text/javascript">
            ImgSize("ClassAdName", 100, 50);
      </script>
    </form>
</body>
</html>
